package com.homedo.async.mysql.support.convertor.forfieldval;

/**
 * @author jgshun
 * @date 2020/1/20 11:51 AM
 */
public class ByteResultFieldValConvertor implements ResultFieldValConvertorI {
    private static final ByteResultFieldValConvertor INSTANCE = new ByteResultFieldValConvertor();

    @Override
    public Byte convertor(Object columnVal) {
        return Byte.valueOf(columnVal.toString());
    }

    public static ByteResultFieldValConvertor getInstance() {
        return INSTANCE;
    }
}
